﻿<%@ Page Language="C#" AutoEventWireup="true" CodeBehind="Reports.aspx.cs" Inherits="StandaloneSilverlightWoZ.Web.Reports" %>

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">

<html xmlns="http://www.w3.org/1999/xhtml" >
<head runat="server">
    <title>ActiveStory Wizard of Oz Tool - Reports</title>
</head>
<body bgcolor="#336699">
    <form id="form1" runat="server">
    <h1 style="color: #FFFFFF; text-align: center;">ActiveStory Enhanced Wizard of Oz Tool - Results</h1>
    <div style="text-align: center">
    
        <asp:GridView ID="TestRunList" runat="server" AutoGenerateColumns="False" 
            Caption="Test Results by User" CellPadding="4" ForeColor="White" 
            HorizontalAlign="Center" 
            onselectedindexchanged="TestRunList_SelectedIndexChanged">
            <RowStyle BackColor="#F7F6F3" ForeColor="#333333" />
            <Columns>
                <asp:BoundField DataField="UserGUID" HeaderText="User GUID" />
                <asp:BoundField DataField="DateTime" HeaderText="Date/Time" />
                <asp:CommandField ButtonType="Button" HeaderText="Details" SelectText="View" 
                    ShowSelectButton="True" />
            </Columns>
            <FooterStyle BackColor="#5D7B9D" Font-Bold="True" ForeColor="White" />
            <PagerStyle BackColor="#284775" ForeColor="White" HorizontalAlign="Center" />
            <SelectedRowStyle BackColor="#E2DED6" Font-Bold="True" ForeColor="#333333" />
            <HeaderStyle BackColor="#5D7B9D" Font-Bold="True" ForeColor="White" />
            <EditRowStyle BackColor="#999999" />
            <AlternatingRowStyle BackColor="White" ForeColor="#284775" />
        </asp:GridView>
    
        <br />
        <asp:Button ID="ViewAllTrailsButton" runat="server" 
            onclick="ViewAllTrailsButton_Click" Text="View Superimposed Trails" />
    
    </div>
    <p></p>
    <div style="text-align: center">
        <asp:GridView ID="UserPageDetailsGridView" runat="server" AutoGenerateColumns="False" 
            Caption="Test Run Details" CellPadding="4" ForeColor="White" 
            Visible="False" Font-Bold="False" HorizontalAlign="Center" 
            onselectedindexchanged="UserPageDetails_SelectedIndexChanged">
            <RowStyle BackColor="#F7F6F3" ForeColor="#333333" />
            <Columns>
                <asp:BoundField DataField="Sequence" HeaderText="Sequence" 
                    SortExpression="Sequence" />
                <asp:BoundField HeaderText="Page Number" DataField="PageNumber" />
                <asp:BoundField HeaderText="Page Duration" DataField="PageDuration" />
                <asp:BoundField DataField="SourceButton" HeaderText="Button Clicked" />
                <asp:CommandField ButtonType="Button" HeaderText="Mouse Movement" 
                    SelectText="View" ShowSelectButton="True" />
                <asp:BoundField DataField="Comments" HeaderText="Comments" />
            </Columns>
            <FooterStyle BackColor="#5D7B9D" Font-Bold="True" ForeColor="White" />
            <PagerStyle BackColor="#284775" ForeColor="White" HorizontalAlign="Center" />
            <SelectedRowStyle BackColor="#E2DED6" Font-Bold="True" ForeColor="#333333" />
            <HeaderStyle BackColor="#5D7B9D" Font-Bold="True" ForeColor="White" />
            <EditRowStyle BackColor="#999999" />
            <AlternatingRowStyle BackColor="White" ForeColor="#284775" />
        </asp:GridView>
        <asp:GridView runat="server" AutoGenerateColumns="False" 
            Caption="Mouse Trails by Page (All Users)" CellPadding="4" ForeColor="White" 
            Visible="False" Font-Bold="False" HorizontalAlign="Center" 
            ID="AllMouseTrailsDetailsGridView" Width="300px" 
            onselectedindexchanged="AllMouseTrailsDetails_SelectedIndexChanged">
            <RowStyle BackColor="#F7F6F3" ForeColor="#333333" />
            <Columns>
                <asp:BoundField HeaderText="Page Number" DataField="PageNumber" />
                <asp:CommandField ButtonType="Button" HeaderText="Mouse Trails" 
                    SelectText="View" ShowSelectButton="True" />
            </Columns>
            <FooterStyle BackColor="#5D7B9D" Font-Bold="True" ForeColor="White" />
            <PagerStyle BackColor="#284775" ForeColor="White" HorizontalAlign="Center" />
            <SelectedRowStyle BackColor="#E2DED6" Font-Bold="True" ForeColor="#333333" />
            <HeaderStyle BackColor="#5D7B9D" Font-Bold="True" ForeColor="White" />
            <EditRowStyle BackColor="#999999" />
            <AlternatingRowStyle BackColor="White" ForeColor="#284775" />
        </asp:GridView>
    </div>
    <div style="text-align:center">
        <p></p>
        <asp:Label ID="MouseTrailsLabel" runat="server" Text="Mouse Movements" 
            ForeColor="White" Visible="False"></asp:Label>
        <br />
        <asp:Image ID="MouseTrailsImage" runat="server" ImageAlign="Middle" 
            Visible="False" />
    
    </div>
    </form>
</body>
</html>
